/**
 * Bob.Ren
 * 2013-7-9
 */
package com.noqueue.service.impl;

import java.util.LinkedList;
import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.noqueue.dao.CustomerDao;
import com.noqueue.entity.Customer;
import com.noqueue.entity.QueueListPagerEntity;
import com.noqueue.service.CustomerService;

/**
 * @author Bob.Ren
 * @date 2013-7-9
 */
@Service
public class CustomerServiceImpl extends BaseServiceImpl<Customer, String>
		implements CustomerService {
	@Resource
	private CustomerDao customerDao;

	@Resource
	public void setBaseDao(CustomerDao customerDao) {
		super.setBaseDao(customerDao);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.noqueue.service.CustomerService#loadByCustomerIds(java.lang.String[])
	 */
	@Override
	public List<QueueListPagerEntity> loadByCustomerIds(String[] customerIds) {
		List<Customer> list = get(customerIds);
		List<QueueListPagerEntity> entitys = new LinkedList<QueueListPagerEntity>();
		for (Customer customer : list) {
			QueueListPagerEntity entity = new QueueListPagerEntity();

			entitys.add(entity);

		}
		return null;
	}
}
